// For license information, see `https://assets.adobedtm.com/a9de570d9caa/b01a1f4bb0c4/5a67f359c648/RCa60d1ea7407b4de5a2a3ab3b5233ede3-source.js`. _satellite.__registerScript('https://assets.adobedtm.com/a9de570d9caa/b01a1f4bb0c4/5a67f359c648/RCa60d1ea7407b4de5a2a3ab3b5233ede3-source.min.js', "function initializeMicrosoftCode(e,t){var n={ti:t};\"undefined\"!=typeof UET?(n.q=window[e],window[e]=new UET(n)):console.error(\"[initializeMicrosoftCode] cannot properly initialize code\",\"scripts not fully loaded yet. Update code to not fire 2 events in rapid succession.\")}function isTrackInteraction(e){var t=!1;return void 0!==e.interactionDestination&&(e.interactionDestination.indexOf(\"https://www.freewill.com\")>-1||e.interactionDestination.indexOf(\"https://calculator.giftillustrator.com/\")>-1||e.interactionDestination.indexOf(\"planned-giving/bequest-information-sheet\")>-1||e.interactionDestination.indexOf(\"giving/save-the-children-stock-giving-instructions\")>-1||e.interactionDestination.indexOf(\"plannedgiving@savechildren.org\"))&&(t=!0),t}function trackDataInMicrosoft(e){var t=\"5439503\",n=e.detail,i=!1,a=!1,o=!1,r=n.pageUrl,c=n.pageType.toLowerCase(),l=n.pageUrl,s=\"microsoft-ads-script\",d=\"//bat.bing.com/bat.js\",p=\"uetq\";window[p]=window[p]||[],void 0!==r&&\"\"!==r||(r=window.location.pathname+window.location.search+window.location.hash),r=(r=new URL(r)).pathname,\"pageView\"===e.nativeEvent.type&&(a=!0,c.indexOf(\"donation thank you\")>-1&&(a=!1)),\"transactionComplete\"===e.nativeEvent.type&&c.indexOf(\"donation thank you\")>-1&&(i=!0,a=!0),\"leadgenPX\"===e.nativeEvent.type&&l.indexOf(\"/us/ways-to-help/plan-your-legacy\")>-1&&(o=!0),\"interaction\"===e.nativeEvent.type&&l.indexOf(\"/us/ways-to-help/plan-your-legacy\")>-1&&isTrackInteraction(n)&&(o=!0),_satellite.loadScript(d,s).then((function(){(a||i||o)&&initializeMicrosoftCode(p,t),a&&window[p].push(\"pageLoad\"),i&&window[p].push(\"event\",\"purchase\",{event_value:1,revenue_value:parseInt(n.transactionTotal,10),currency:\"USD\"}),o&&window[p].push(\"event\",\"submit_lead_form\",{})})).catch(_satellite.loadScriptFailed)}try{\"leadgenPX\"===event.nativeEvent.type&&(event.detail.pageUrl=_satellite.getVar(\"content:pageUrl\"),event.detail.pageType=_satellite.getVar(\"content:pageType\"),event.detail.pageName=_satellite.getVar(\"content:pageName\")),trackDataInMicrosoft(event)}catch(e){console.error(\"[trackDataInMicrosoft]\",e)}");